<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core">

<ui:composition template="../../templates/padraoUser.xhtml">

	<ui:define name="slide">
		<p:imageSwitch effect="fade" widgetVar="switcher" slideshowAuto="true">
			<ui:repeat value="#{pageBean.images}" var="image">
				<p:graphicImage library="images" value="#{image}" />
			</ui:repeat>
		</p:imageSwitch>
		<p:commandButton type="button" onclick="switcher.previous();"
			icon="ui-icon-circle-triangle-w" />
		<p:commandButton type="button" onclick="switcher.next();"
			icon="ui-icon-circle-triangle-e" />

	</ui:define>

</ui:composition>
</html>
